Technical Q&As


QTMTB 06 - MediaGetName (1-May-95)




MediaGetName lets you retrieve the name of the media type. For example, the Video Media Handler will return the string "Video."

pascal ComponentResult MediaGetName(MediaHandler mh, Str255 name, long requestedLanguage, long *actualLanguage )

mh The Base Media Handler instance.

name The name of the media type.

requestLanguage Language you want it to return name in.

actualLanguage Language it returns the name in.

Errors:

badComponentInstance 0x80008001 Get a new component instance.
See also: QuickTime Technote QT4.

Technical Q&As
Previous Question | Contents | Next Question